package org.example.cmsvue.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
 * <p>
 * 
 * </p>
 *
 * @author laifeng
 * @since 2025-02-19
 */
@Getter
@Setter
@ToString
public class Menus implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 类型 1-目录 2-菜单 3-按钮
     */
    private Byte type;

    /**
     * 菜单路径
     */
    private String url;

    /**
     * 图标
     */
    private String icon;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 父菜单ID
     */
    private Integer parentId;

    /**
     * 权限标识
     */
    private String permission;

    private LocalDateTime createAt;

    private LocalDateTime updateAt;
}
